package com.fowo.api.model.fbainvoice.logistics;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/** 发货单物流信息 导入导出辅助模型 */
@Getter
@Setter
public class FBAInvoiceLogisticsExcelPo {

  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "所属发货单")
  private String parentFBAInvoiceLogisticsProvider;

  @ExcelIgnore
  @ExcelProperty(value = "所属发货单")
  private Long parentFBAInvoice;

  @Size(max = 50, message = "物流单号长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "物流单号")
  private String logisticsnumber;

  @ExcelProperty(value = "预估物流费用")
  private java.math.BigDecimal logisticscost;

  @ExcelProperty(value = "预估其他费用")
  private java.math.BigDecimal othercost;

  @ExcelProperty(value = "实际物流费用")
  private java.math.BigDecimal realitylogisticscost;

  @ExcelProperty(value = "实际其他费用")
  private java.math.BigDecimal realityothercost;
}
